package cn.gson.fengboot.model.pojos;

import javax.persistence.*;
import java.util.Date;

@Entity
public class Ljianche {
    private Integer jcId; //检测id
    private String jcShuoming; //检测说明
    private Integer jcWxday; //预计维修天数
    private Date jcKstime; //检测开始日期
    private Date jcWctime; //检测完成日期
    private String jcYgname;//员工对象
    private  Lwxzb lwxzb;//维修主表对象


    @ManyToOne
    @JoinColumn(name = "gd_id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    public Lwxzb getLwxzb() {
        return lwxzb;
    }

    public void setLwxzb(Lwxzb lwxzb) {
        this.lwxzb = lwxzb;
    }



    @Id
    @Column(name = "jc_id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    public Integer getJcId() {
        return jcId;
    }

    public void setJcId(Integer jcId) {
        this.jcId = jcId;
    }

    @Basic
    @Column(name = "jc_shuoming")
    public String getJcShuoming() {
        return jcShuoming;
    }

    public void setJcShuoming(String jcShuoming) {
        this.jcShuoming = jcShuoming;
    }


    @Basic
    @Column(name = "jc_wxday")
    public Integer getJcWxday() {
        return jcWxday;
    }

    public void setJcWxday(Integer jcWxday) {
        this.jcWxday = jcWxday;
    }

    @Basic
    @Column(name = "jc_kstime")
    public Date getJcKstime() {
        return jcKstime;
    }

    public void setJcKstime(Date jcKstime) {
        this.jcKstime = jcKstime;
    }


    @Basic
    @Column(name = "jc_wctime")
    public Date getJcWctime() {
        return jcWctime;
    }

    public void setJcWctime(Date jcWctime) {
        this.jcWctime = jcWctime;
    }

    @Basic
    @Column(name = "jc_ygname")
    public String getJcYgname() {
        return jcYgname;
    }

    public void setJcYgname(String jcYgname) {
        this.jcYgname = jcYgname;
    }

}
